package s04;

/**
 * @ClassName MyImpl01
 * @Description 定义类时确定泛型的类型
 * @Author Li
 * @Date 2022/8/4 9:11
 * @ModifyDate 2022/8/4 9:11
 * @Version 1.0
 */
public class MyImpl01 implements MyGenericInterface<String> {
    @Override
    public void show(String s) {
        System.out.println(s);
    }

    @Override
    public String getT(String s) {
        return s;
    }
}
